<!DOCTYPE HTML><html>
<head>
<? echo $h->meta($title, $kwd, $dpn); ?>
<? require_once("lib.php"); ?>
</head>
<body id="ncontactus">
<? include_once("header.php"); ?>
<div id="wrap">
		<div class="breadcrumb">
			<a href="./"><?=WEB_INDEX_PAGE?></a> &gt; <span><?=WEB_FEEDBACK?></span>
		</div><!--breadcrumb end-->
		<div id="" class="w220 left">
			<div class="side_menu">
					<ul class="side_menu_ul">
						<?
							$str='';
							foreach ($arr_cate as $val) {
								//$curr=''; if($cate==$val['id']) $curr=' class="current" ';
								$str.='<li><a href="aboutus-'.$val['id'].'.html">'.$val['name_'.$lang].'</a></li>';
							}
							echo $str;
						?>
						<li class="current"><a href="contactus.html"><?=WEB_CONTACT_US?></a></li>
					</ul>
				</div>
				<div class="ad_right">
				<a href="<?=$ad_right['link']?>"><img src="upload/<?=$ad_right['pic']?>" alt="<?=$ad_right['name']?>" width="220" height="260" /></a>
			</div>
		</div><!--. w220-->
		<div id="" class="right w720">
			<div class="">
				<div class="h2news">
					<h2><?=WEB_FEEDBACK?></h2>
				</div>
				<div class="content">
					<div class="feedback">
						<div class="px20"></div>
						<form method="post" class="need_check">
						<? 
						// 签名以过滤非法提交表单 
						$key=md5('ecomgear'.date('Ymd'));
						echo $h->hidden('key',$key);
						echo $h->hidden('action','add'); ?>
						<table class="" width="100%">
							<tr><td width="120" class="tright"><span class="error">*</span> <?=WEB_NAME?>: </td><td><input type="text" name="name" class="g {validate:{required:true,messages:{required:'<?=WEB_REQUIRED?>'}}}" maxlength="20" /></td></tr>
							<tr><td class="tright"><span class="error">*</span> <?=WEB_EMAIL?>: </td><td>
								<input type="text" name="email" class="g {validate:{required:true,email:true,messages:{required:'<?=WEB_REQUIRED?>',email:'<?=WEB_INVALID_EMAIL?>'}}}" maxlength="50" />
								</td></tr>
							<tr><td class="tright"><?=WEB_PHONE?>: </td><td><input class="g" type="text" name="phone" maxlength="20" /></td></tr>
								<tr><td class="tright"><span class="error">*</span> <?=WEB_CONTENT?>: </td><td><textarea class="gt  {validate:{required:true,messages:{required:'<?=WEB_REQUIRED?>'}}}" name="content" cols="24" rows="5"></textarea></td></tr>
							<tr><td>&nbsp;</td><td class=""><input type="submit" class="button_blue" value="<?=WEB_SUBMIT?>" /></td></tr>
						</table>
						<div class="px20"></div>
					</form>
					</div>
				</div>

				<div class="clear"></div>
			</div><!--. featured product-->
	</div><!--# featured_and_ad_right-->

		<div class="clear"></div>
	<div class="px20"></div>
	<div class="clear"></div>
</div>
<? include("footer.php"); ?>
<script src="<?=$ecom?>/js/jquery.validate.js" type="text/javascript"></script>
<script src="<?=$ecom?>/js/jquery.metadata.js" type="text/javascript"></script>
<script type="text/javascript">
  $(document).ready(function(){
  	$(".need_check").validate({meta: "validate", onkeyup: false,
		errorPlacement: function( label, element ) {
			element.parent().append("<br>").append(label);
		}
	});
});
</script>
</body>
</html>